﻿@using NewRen.Models
@{
    ViewBag.Title = "牛棚管理";
    Layout = "~/Areas/Admin/Views/Shared/_AdminLayout.cshtml";
    UserGroup group = ViewBag.Group as UserGroup;
}
<div class="row wrapper border-bottom white-bg page-heading">
    <div class="col-lg-10">
        <h2>牛棚信息展示</h2>
        <ol class="breadcrumb">
            <li>
                <a href="index.html">后台管理</a>
            </li>
            <li>
                <a href="index.html">牛棚管理</a>
            </li>
            <li>
                <a>牛棚信息展示</a>
            </li>
        </ol>
    </div>
</div>
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>牛棚信息展示 <small>@group.GroupName</small> <small><a href="/Admin/UserGroup/Index">牛棚管理</a></small><small><a href="/Admin/UserGroup/Users/@group.ID">查看牛人</a></small></h5>
                </div>
                <div class="ibox float-e-margins">
                    <div class="ibox-content">
                        <table class="table">
                            <tr>
                                <td>牛棚名</td>
                                <td>@group.GroupName</td>
                            </tr>
                            <tr>
                                <td>描述</td>
                                <td>@group.Description</td>
                            </tr>
                            <tr>
                                <td>城市</td>
                                <td>@group.City</td>
                            </tr>
                            <tr>
                                <td>行业</td>
                                <td>@group.Industry</td>
                            </tr>
                            <tr>
                                <td>手机</td>
                                <td>@group.Phone</td>
                            </tr>
                            <tr>
                                <td>地址</td>
                                <td>@group.Address</td>
                            </tr>
                            <tr>
                                <td>图像</td>
                                @if (group.Picture != null)
                                {
                                    <td><img src="/Admin/UserGroup/ShowPicture/@group.ID" alt="@group.GroupName" width="60" height="60" /></td>
                                }
                                else
                                {
                                    <td><img src="~/images/userphoto.png" alt="@group.GroupName" width="60" height="60" /></td>
                                }
                            </tr>
                            <tr>
                                <td>邮箱</td>
                                <td>@group.Email</td>
                            </tr>
                            <tr>
                                <td>优先级</td>
                                <td>@group.Priority</td>
                            </tr>
                            <tr>
                                <td>认证</td>
                                <td>@(group.IsVerified == true ? "是" : "否")</td>
                            </tr>
                            <tr>
                                <td>微信</td>
                                <td>@group.WhatApp</td>
                            </tr>
                            <tr>
                                <td>注册时间</td>
                                <td>@group.AddTime</td>
                            </tr>
                            <tr>
                                <td>上次登录时间</td>
                                <td>@group.LastLoginTime</td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
